8.4 AT^SNWS Network SelectionThe AT^SNWS command is smilar to AT+COPS. The major advantage of AT^SNWS is the ability to scan all frequency bands supported by TC65, while AT+COPS is always determined by the band most recently used and therefore starts searching either across the GSM 900 / GSM 1800 bands or across the GSM 850 / GSM 1900 bands. So AT^SNWS allows the subscriber to manually select a specific provider from all these bands.
This means the AT^SNWS write command forces an attempt to select and register to the given operator. The procedure may take a few seconds depending on the amount of visible networks. If the selected operator is not found, the ME returns an error.
The AT^SNWS test command enforces a multiple band scan in order to find all available networks. The scanning procedure may take a few seconds depending on the amount of visible networks. During this time the serving cell will be lost because of band changing. After the scan the ME reverts to the previously used network. The test command returns a list of all operators currently available. The response consists of several parameter sets, each representing a visible operator. Each set contains the following information:The operator list is followed by a list of the supported <mode>s and <format>s. These lists are delimited from the operator list by two commas.
Command settings are effective over all serial interfaces of the TC65.
+CME ERROR: <err>
+CME ERROR: <err>
<opStatus>(num)
<oper>(str)If test command: Operator name in long alphanumeric format, short alphanumeric format and numeric format.
If write command: Operator name in numeric format.
<mode>(num)(&V)
<format>(num)(&W)(&V)Numeric format of <oper>. This is the GSM Location Area Identification (LAI) number, which consists of the 3-digit Mobile Country Code (MCC) plus the 2- or 3-digit Mobile Network Code (MNC).
• It is not recommended to use the AT^SNWS command before passing the CHV (card holder verification) / SIM PIN1 verification. Also, the test command should only be used after PIN1 authentication.
• As stated above the AT^SNWS test and write commands cause the ME to deregister and re-register during scanning. Therefore, if Unsolicited Result Code presentation is activated with AT+CREG adequate "+CREG:" URCs will be generated each time the registration state changes. If URC presentation is enabled on the same interface where AT^SNWS is running all URCs will be output after the execution of AT^SNWS has finished. If URC presentation is enabled on another interface the URCs will be output in parallel to AT^SNWS command execution.
• The AT^SNWS parameters <mode>, <format> and <oper> are identical with the parameters <mode>, <format> and <oper> in AT+COPS. This implies that the AT^SNWS write command may influence the settings of AT+COPS. So, after manually selecting a network with AT^SNWS you may use the AT+COPS read command to check the result.
• If the selected PLMN necessitates a radio band switch the AT^SNWS write command may automatically change the configured values of the preferred radio band(s) <rbp> and allowed radio band(s) <rba>. After using the AT^SNWS write command you may therefore want to check the radio band settings with AT^SCFG and set your preferred values where necessary.
• Notes specific to the AT^SNWS test command:
As stated above the ME reverts to the network used before starting the AT^SNWS test command. Yet, in some cases, it is possible that the AT^SNWS test command response indicates a current operator (<opStatus> equals 2), which is not identical with the previously used operator. This may happen only if, during the scan procedure, the ME finds a home or roaming network and quickly registers to this network for a very short time before it reverts to the previously used network. In such case, the AT^SNWS test command response reflects only the interim value set during the scan procedure, but not the final value set after scanning has completed. To check the correct result, please use the AT+COPS read command.
• It is not recommended to use the AT^SNWS command when an active connection is established.
|